package com.ruoyi.deeplearn.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 训练验证数据集对象 deep_train_validation
 * 
 * @author rww
 * @date 2022-12-10
 */
public class DeepTrainValidation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模块ID */
    private Long id;

    /** 训练任务id */
    @Excel(name = "训练任务id")
    private Long trainTaskId;

    /** 训练数据集id */
    @Excel(name = "训练数据集id")
    private Long datasetId;

    /** 数据集类型：1：训练   2：验证集  3：测试集 */
    @Excel(name = "数据集类型：1：训练   2：验证集  3：测试集")
    private Integer datasetFor;

    /** 标记id */
    @Excel(name = "标记id")
    private Long tagId;

    /** 文件id */
    @Excel(name = "文件id")
    private Long fileId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 训练结果标记id */
    @Excel(name = "训练结果标记id")
    private Long resultTagId;

    /** 结果是否一致 */
    @Excel(name = "结果是否一致")
    private Integer same;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTrainTaskId(Long trainTaskId) 
    {
        this.trainTaskId = trainTaskId;
    }

    public Long getTrainTaskId() 
    {
        return trainTaskId;
    }
    public void setDatasetId(Long datasetId) 
    {
        this.datasetId = datasetId;
    }

    public Long getDatasetId() 
    {
        return datasetId;
    }
    public void setDatasetFor(Integer datasetFor) 
    {
        this.datasetFor = datasetFor;
    }

    public Integer getDatasetFor() 
    {
        return datasetFor;
    }
    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }
    public void setFileId(Long fileId) 
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setResultTagId(Long resultTagId) 
    {
        this.resultTagId = resultTagId;
    }

    public Long getResultTagId() 
    {
        return resultTagId;
    }
    public void setSame(Integer same) 
    {
        this.same = same;
    }

    public Integer getSame() 
    {
        return same;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("trainTaskId", getTrainTaskId())
            .append("datasetId", getDatasetId())
            .append("datasetFor", getDatasetFor())
            .append("tagId", getTagId())
            .append("fileId", getFileId())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("resultTagId", getResultTagId())
            .append("same", getSame())
            .toString();
    }
}
